/*
 * @Author: 陈心怡
 * @Date: 2024-09-18 18:08:17
 * @LastEditors: 陈心怡
 * @LastEditTime: 2024-09-18 22:23:46
 * @FilePath: \vue3-web-study\src\main.js
 * @Description:
 */

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 引入全局样式
import '@/assets/style/reset.css'
import '@/assets/style/public.css'

// Message 组件需要单独引入样式
// import 'element-plus/es/components/message/style/css'

// 引入全局方法
import * as utils from '@/utils'

const app = createApp(App)

app.config.globalProperties.$utils = utils

app.use(createPinia())
app.use(router)
app.mount('#app')
